
// <copyright file="CommandStateEventArgs.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   Represents event information for the main form, when the command state of the active browser changes
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Windows.Forms
{
    using System;

    /// <summary>
    ///     Represents event information for the main form, when the command state of the active browser changes
    /// </summary>
    public class CommandStateEventArgs : EventArgs
    {
        #region Constructors and Finalizers

        /// <summary>
        /// Initializes a new instance of the <see cref="CommandStateEventArgs"/> class.
        /// Creates a new instance of the <see cref="CommandStateEventArgs"/> public class
        /// </summary>
        /// <param name="commands">
        /// A list of commands that are available
        /// </param>
        public CommandStateEventArgs(BrowserCommands commands)
        {
            this.BrowserCommands = commands;
        }

        #endregion Constructors and Finalizers

        #region Public Properties

        /// <summary>
        ///     Gets a list of commands that are available
        /// </summary>
        public BrowserCommands BrowserCommands { get; private set; }

        #endregion Public Properties
    }
}
